import request from '@/utils/request'

// 人员工时清单
export function getuhour(data) {
  return request({
    url: '/work/report/uhour',
    method: 'post',
    data: data
  })
}

// 项目工时清单
export function getphour(query) {
  return request({
    url: '/work/report/phour',
    method: 'get',
    params: query
  })
}

// 部门人力成本
export function getdcost(data) {
  return request({
    url: '/work/report/dcost',
    method: 'post',
    data: data
  })
}

// 项目人力成本
export function getpcost(query) {
  return request({
    url: '/work/report/pcost',
    method: 'get',
    params: query
  })
}

// 人力成本明细
export function getcostdetail(query) {
  return request({
    url: '/work/report/detailcost',
    method: 'get',
    params: query
  })
}

// 人力成本总汇
export function getcostsum(query) {
  return request({
    url: '/work/report/sumcost',
    method: 'get',
    params: query
  })
}

// 人力成本 核算
export function getprojectcheck(query) {
  return request({
    url: '/work/report/pcheck',
    method: 'get',
    params: query
  })
}

// 获取已填写的项目
export function optionSelect() {
  return request({
    url: '/work/report/optionselect',
    method: 'get'
  })
}
